﻿@model KL.Store.Web.Models.ProductModel
@using KL.Store.Core;
@using CaptchaMvc.HtmlHelpers;
@{
    Layout = null;
    ViewBag.Title = "Edit Product Images";
            //Html.EnableClientValidation(false);
}
<div class="col-xs-3" id="imageEditList">
    <ul>
        @foreach (var img in Model.ProductImages.Select(o => o.ProductId).Distinct())
        {
            for (var i = 1; i <= 5; i++)
            {
            <li class="image" id="img@(img)_@(i)">
                <img src="@(Parameters.WebSiteImageUrl)/product-medium/@(img)_@(i).jpg" onclick="SelectImage(@img, @i);" />
            </li>
            }
        }
    </ul>
</div>
<div class="col-xs-9">
</div>
